from django.urls import path, re_path

from App import views

app_name = 'app'
urlpatterns = [
    path('home/', views.home, name='home'),
    path('market/', views.market, name='market'),
    re_path(r'^marketwithparams/(?P<typeid>\d+)/(?P<childcid>\d+)/(?P<order_rule>\d+)/', views.market_with_params,
            name='market_with_params'),
    path('cart/', views.cart, name='cart'),
    path('mine/', views.mine, name='mine'),
    path('register/', views.register, name='register'),
    path('login/', views.login, name='login'),
    path('checkuser/', views.checkuser, name='checkuser'),
    path('logout/', views.logout, name='logout'),
    path('active/', views.active, name='active'),
    path('addtocart/', views.addtocart, name='addtocart'),
    path('changecartstate/', views.changecartstate, name='changecartstate'),
    path('subshopping/', views.subshopping, name='subshopping'),
    path('allselect/', views.allselect, name='allselect'),
    path('makeorder/', views.makeorder, name='makeorder'),
    path('orderdetail/', views.orderdetail, name='orderdetail'),
    path('payed/', views.payed, name='payed'),
    path('orderlistnotpay/', views.orderlistnotpay, name='orderlistnotpay'),
    path('alipay/', views.alipay, name='alipay')

]
